package com.ssy.lingxi.logistics.api.dto.response;

import com.ssy.lingxi.logistics.api.dto.request.OrderSeparateFreightRequest;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单服务 - 批量查询拆单后运费结果
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-23
 */
public class OrderSeparateFreightListResponse implements Serializable {
    private static final long serialVersionUID = -2389047767362188334L;

    /**
     * 订单服务定义的拆单条件，查询结果中原路返回
     */
    private OrderSeparateFreightRequest request;

    /**
     * 拆单后的运费
     */
    private BigDecimal freight;

    public OrderSeparateFreightRequest getRequest() {
        return request;
    }

    public void setRequest(OrderSeparateFreightRequest request) {
        this.request = request;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }
}
